package com.leha.mp.core.entity.vo;
import com.leha.mp.core.entity.mybatis.PlProduct;
import com.leha.mp.core.entity.mybatis.PlUser;
import lombok.Data;

import java.util.List;

@Data
public class DoctorLoginVO {
    PlUser userInfo;
    DoctorBaseInfoVo baseInfo;
    String sessionKey;
    List<DoctorScheduleVo> doctorSchedule;
    List<PlProduct> products;
    String qrCode;

    public DoctorLoginVO(PlUser u) {
        userInfo = u;
    }

    public DoctorLoginVO(PlUser u, String sessionKey, DoctorBaseInfoVo base, List<DoctorScheduleVo> sche, List<PlProduct> pro) {
        userInfo = u;
        this.sessionKey = sessionKey;
        this.baseInfo = base;
        this.doctorSchedule = sche;
        this.products = pro;
    }
}
